package com.huabo.contract.mysql.mapper;

import com.huabo.contract.mysql.entity.TblYyReportModelMySql;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;
import tk.mybatis.mapper.common.BaseMapper;

public interface TblYyReportModelMySqlMapper extends BaseMapper<TblYyReportModelMySql> {

    @InsertProvider(type = TblYyReportModelMapperSqlMySqlConifg.class, method = "saveModel")
    @Options(useGeneratedKeys = true, keyProperty = "reportid", keyColumn = "REPORTID")
    void saveModel(TblYyReportModelMySql model);
}
